package com.camemax.dispatch.pojo;

import org.springframework.stereotype.Repository;

import java.util.Date;

// ************************
// * @Date: 2021/6/18
// * @Author: Camemax
// * @Description: 配单实体类
// ************************
@Repository
public class Dispatch {
    private String dispatchId;
    private String dispatcherId;
    private String orderId;
    private String orderContent;
    private Integer dispatchStatus;
    private Date dispatchCreateDate;

    public Dispatch(){}

    public Dispatch(String dispatchId, String dispatcherId, String orderId, String orderContent, Integer dispatchStatus, Date dispatchCreateDate) {
        this.dispatchId = dispatchId;
        this.dispatcherId = dispatcherId;
        this.orderId = orderId;
        this.orderContent = orderContent;
        this.dispatchStatus = dispatchStatus;
        this.dispatchCreateDate = dispatchCreateDate;
    }

    public String getDispatchId() {
        return dispatchId;
    }

    public void setDispatchId(String dispatchId) {
        this.dispatchId = dispatchId;
    }

    public String getDispatcherId() {
        return dispatcherId;
    }

    public void setDispatcherId(String dispatcherId) {
        this.dispatcherId = dispatcherId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderContent() {
        return orderContent;
    }

    public void setOrderContent(String orderContent) {
        this.orderContent = orderContent;
    }

    public Integer getDispatchStatus() {
        return dispatchStatus;
    }

    public void setDispatchStatus(Integer dispatchStatus) {
        this.dispatchStatus = dispatchStatus;
    }

    public Date getDispatchCreateDate() {
        return dispatchCreateDate;
    }

    public void setDispatchCreateDate(Date dispatchCreateDate) {
        this.dispatchCreateDate = dispatchCreateDate;
    }

    @Override
    public String toString() {
        return "Dispatch{" +
                "dispatchId='" + dispatchId + '\'' +
                ", dispatcherId='" + dispatcherId + '\'' +
                ", orderId='" + orderId + '\'' +
                ", orderContent='" + orderContent + '\'' +
                ", dispatchStatus='" + dispatchStatus + '\'' +
                ", dispatchCreateDate=" + dispatchCreateDate +
                '}';
    }
}
